package cn.laike.modules.dev.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.repository.query.Param;

import com.baomidou.mybatisplus.service.IService;

import cn.laike.common.utils.PageUtils;
import cn.laike.modules.dev.entity.OrderEntity;

/**
 * 订单记录
 *
 * @author ziye
 * @email 524748907@qq.com
 * @date 2019-02-20 14:51:10
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
    OrderEntity getByOrderNo(String orderNo);
    
    List<Map> queryOrderList(String openid, Integer pageNo, Integer pageSize);
    
    List<Double> statTotalMoney(Long uid,Integer hotelId, String startTime, String endTime);
    
    List<Map> statOrderList(List<String> openids);
}

